#include "Director.h"

#include <iostream>

using std::cout;
using std::endl;

int main(int argc, char** argv)
{
	Director* director = new Director(new GradeBuilder);

	director->Construct();

	Student* student = director->GetStudent();

	cout << "The grades corresponding to each year of the student is:" << endl;
	cout << "First year: " << student->grades[0] << endl;
	cout << "Second year: " << student->grades[1] << endl;
	cout << "Third year: " << student->grades[2] << endl;
	cout << "Fourth year: " << student->grades[3] << endl;

	return 0;
}